<template>
    <div>
       <h1>兄弟 - 子1 -->父 -->子2</h1>  

        <one @onechuanzhi="shou"></one>
        <hr>
        <two :nnn="nn"></two>


    </div>
</template>

<script>
import one from "@/components/xiongdi/one.vue"
import two from "@/components/xiongdi/two.vue"

export default {
   components:{
    one,
    two
   },
   data() {
    return {
        nn: "",
    };
   },
   methods:{
    shou(d){
        // console.log(d);
        this.nn= d;
    }
   }
   
};
</script>

